package cn.tedu.ivos.vehicle.mapper;

import cn.tedu.ivos.vehicle.pojo.dto.VehicleQuery;
import cn.tedu.ivos.vehicle.pojo.entity.Vehicle;
import cn.tedu.ivos.vehicle.pojo.vo.VehicleVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VehicleMapper {
	List<VehicleVO> selectVehicle(VehicleQuery vehicleQuery);
	
	void insert(Vehicle vehicle);
	
	void update(Vehicle vehicle);
	
	VehicleVO selectVehicleByLicense(String license);
	
	void deleteById(Long id);
	
	void updateNullValue(Vehicle vehicle);
}
